package com.cloud.pole.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.cloud.pole.common.constant.ApiConstant;
import com.cloud.pole.common.constant.CommonConstants;
import com.cloud.pole.common.msg.ApiRestResponse;

@FeignClient(value = ApiConstant.MSG_SERVICE_ID)
public interface IVerifyCodeService {
	
  @RequestMapping(value= ApiConstant.MSG_SERVICE_CHECK_VERIFYCODE_URL, method = RequestMethod.GET)
  public ApiRestResponse<Boolean> checkVerifyCode(@RequestParam(name="mobileArea", defaultValue = "") String mobileArea, 
		  					     @RequestParam(name="mobile", defaultValue = "")  String mobile, 
		  					     @RequestParam(name="templateKey", defaultValue = "") String templateKey,
		  					     @RequestParam(name="verifyCode", defaultValue = "") String verifyCode);
 
}
